package it.rikesh.aip2011.client.service;

import it.rikesh.aip2011.shared.model.FaunaFlora;
import it.rikesh.aip2011.shared.model.Hut;
import it.rikesh.aip2011.shared.model.Trail;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface TrailServiceAsync {
    void getTrailList(AsyncCallback<List<Trail>> callback);
    void getTrailName(String id,AsyncCallback<String> callback);
    void getTrailDDescription(String id,AsyncCallback<String> callback);
    void setTrail(String name,String dDescription,String hut,AsyncCallback<String> callback);
    void getHutTrail(String id,AsyncCallback<List<Hut>> callback);
    void getTrailFFauna(String id, AsyncCallback<List<FaunaFlora>> callback);
    void getTrailLink(String id,AsyncCallback<String> callback);
    void getTrailId(String name,AsyncCallback<String> callback);
    void getTrailActivity(String id,AsyncCallback<String> callback);
}
